<div ng-controller="collapseDemoCtrl">
    <button class="btn btn-default" ng-click="isCollapsed = !isCollapsed">Toggle collapse</button>
    <hr>
    <div uix-collapse="isCollapsed">
        <div class="well well-lg">Some content</div>
    </div>
</div>